package com.example.databasepj.Request;

public class UserReviewMerchantRequest {
    //{
    //  "rating": 5,          // int 商家评分，0-5
    //  "comment": "很好！",  // string 商家评论
    //  "merchant_ID": 23,    // int 商家ID
    //  "order_ID": 123
    //  "user_ID": 101        // int 用户ID
    //}
    private int rating;                // 商家评分，0-5
    private String comment;           // 商家评论
    private int merchant_ID;            // 商家ID
    private int order_ID;               // 订单ID
    private int user_ID;

    public UserReviewMerchantRequest(int rating, String comment, int merchant_ID, int order_ID, int user_ID) {
        this.rating = rating;
        this.comment = comment;
        this.merchant_ID = merchant_ID;
        this.order_ID = order_ID;
        this.user_ID = user_ID;
    }

    public int getRating() {
        return rating;
    }

    public void setRating(int rating) {
        this.rating = rating;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getMerchant_ID() {
        return merchant_ID;
    }

    public void setMerchant_ID(int merchant_ID) {
        this.merchant_ID = merchant_ID;
    }

    public int getOrder_ID() {
        return order_ID;
    }

    public void setOrder_ID(int order_ID) {
        this.order_ID = order_ID;
    }

    public int getUser_ID() {
        return user_ID;
    }

    public void setUser_ID(int user_ID) {
        this.user_ID = user_ID;
    }
}
